package com.zy.fcs.bean;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云配置
 *
 * @author zhanghengchang
 * @date 2018/3/6
 */
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
@Data
public class AliyunOssConfig {

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String bucketName;

    private int downloadExpireTime;

    private String downloadHost;

    private int uploadExpireTime;

    private String uploadHost;

    private boolean useProxy;

    private String proxyUrl;

}
